var app = new Vue({
	el: '#app',
	extends:isLogin,
	components:{
		navs:nav,
		footers:footer,
		login:login,
	},
	data: {
		bgImg:'img/PCindex/top1.jpg',
		initData:'',//招标详情的数据
		navState:'招标资讯',
	},
	methods: {
		//一进来获取招标详情信息
		initDataFuc: function() {
			var _this = this;
			var buildId = xq.getQueryString('id');
			var method = 'Tender/GetTenderDetail';
			var device  = xq.device;
			var param = {
				ID:buildId,
				Device:device,
			};
			xq.getUrl(method, param, function(res) {
				if(res.data) {
					_this.initData = res.data;
					var endTime = res.data.TenderEnd
					$(".daojishi").daojishi(endTime);
				}
			})
		},
		
	},
	mounted: function() {
		this.initDataFuc();
	},
	updated: function() {

	}
})